package com.ms.dsq_english.model;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @Author: zheng
 */
public class StoreBean {


    /**
     * code : 10000
     * msg : 成功！
     * data : {"last_time":"2021-01-27 15:52:20","sales_region":[{"nums":"388","pname":"江苏省"},{"nums":"7","pname":"安徽省"},{"nums":"200","pname":"山东省"}],"new_shop":{"shop_count":"7","shop_details":[{"reg_time":"2021-01-14 10:44:24","shop_name":"安徽毫州门店6","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 10:44:24","shop_name":"安徽毫州门店7","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:33","shop_name":"安徽毫州门店4","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:32","shop_name":"安徽毫州门店3","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:31","shop_name":"安徽毫州门店2","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-13 15:45:13","shop_name":"安徽亳州首家门店","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-08 17:55:25","shop_name":"安徽首家门店","pname":"安徽省","cname":"合肥市","dname":"蜀山区"}]},"all_shop_count":"463","month_cover":{"login_count":"17","login_rate":"3.7","pre_login_rate":"2.4","active_count":"12","active_rate":"2.6","pre_active_rate":"0.6"},"shop_data":[{"order_num":"79","months":"2020-08","active_num":"79","active_rate":"100"},{"order_num":"168","months":"2020-09","active_num":"183","active_rate":"92"},{"order_num":"178","months":"2020-10","active_num":"260","active_rate":"68"},{"order_num":"5","months":"2020-12","active_num":"261","active_rate":"2"},{"order_num":"10","months":"2021-01","active_num":"268","active_rate":"4"}],"shop_average":"16","shop_unit_explain":{"1":"0~5千","2":"5千~1万","3":"1万~2万","4":"2万~3万","5":"3万以上"},"shop_unit":{"1":{"month_count":"6","pre_count":"3"},"2":{"month_count":"1","pre_count":"1"},"3":{"month_count":"0","pre_count":"1"},"4":{"month_count":"0","pre_count":"0"},"5":{"month_count":"3","pre_count":"0"}},"order_rinking":[{"address":"江苏省泰州市姜堰区","shop_name":"贯日牡丹江万达广场店","amounts":"11.71"},{"address":"江苏省盐城市盐都区","shop_name":"南京楚翘城门店","amounts":"5.31"},{"address":"江苏省扬州市宝应县","shop_name":"上海育康母婴","amounts":"4.88"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * last_time : 2021-01-27 15:52:20
         * sales_region : [{"nums":"388","pname":"江苏省"},{"nums":"7","pname":"安徽省"},{"nums":"200","pname":"山东省"}]
         * new_shop : {"shop_count":"7","shop_details":[{"reg_time":"2021-01-14 10:44:24","shop_name":"安徽毫州门店6","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 10:44:24","shop_name":"安徽毫州门店7","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:33","shop_name":"安徽毫州门店4","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:32","shop_name":"安徽毫州门店3","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:31","shop_name":"安徽毫州门店2","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-13 15:45:13","shop_name":"安徽亳州首家门店","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-08 17:55:25","shop_name":"安徽首家门店","pname":"安徽省","cname":"合肥市","dname":"蜀山区"}]}
         * all_shop_count : 463
         * month_cover : {"login_count":"17","login_rate":"3.7","pre_login_rate":"2.4","active_count":"12","active_rate":"2.6","pre_active_rate":"0.6"}
         * shop_data : [{"order_num":"79","months":"2020-08","active_num":"79","active_rate":"100"},{"order_num":"168","months":"2020-09","active_num":"183","active_rate":"92"},{"order_num":"178","months":"2020-10","active_num":"260","active_rate":"68"},{"order_num":"5","months":"2020-12","active_num":"261","active_rate":"2"},{"order_num":"10","months":"2021-01","active_num":"268","active_rate":"4"}]
         * shop_average : 16
         * shop_unit_explain : {"1":"0~5千","2":"5千~1万","3":"1万~2万","4":"2万~3万","5":"3万以上"}
         * shop_unit : {"1":{"month_count":"6","pre_count":"3"},"2":{"month_count":"1","pre_count":"1"},"3":{"month_count":"0","pre_count":"1"},"4":{"month_count":"0","pre_count":"0"},"5":{"month_count":"3","pre_count":"0"}}
         * order_rinking : [{"address":"江苏省泰州市姜堰区","shop_name":"贯日牡丹江万达广场店","amounts":"11.71"},{"address":"江苏省盐城市盐都区","shop_name":"南京楚翘城门店","amounts":"5.31"},{"address":"江苏省扬州市宝应县","shop_name":"上海育康母婴","amounts":"4.88"}]
         */

        private String last_time;
        private NewShopBean new_shop;
        private String all_shop_count;
        private MonthCoverBean month_cover;
        private String shop_average;
        private ShopUnitExplainBean shop_unit_explain;
        private ArrayList<ShopUnitBean> shop_unit;
        private List<SalesRegionBean> sales_region;
        private ArrayList<ShopDataBean> shop_data;
        private List<OrderRinkingBean> order_rinking;

        public String getLast_time() {
            return last_time;
        }

        public void setLast_time(String last_time) {
            this.last_time = last_time;
        }

        public NewShopBean getNew_shop() {
            return new_shop;
        }

        public void setNew_shop(NewShopBean new_shop) {
            this.new_shop = new_shop;
        }

        public String getAll_shop_count() {
            return all_shop_count;
        }

        public void setAll_shop_count(String all_shop_count) {
            this.all_shop_count = all_shop_count;
        }

        public MonthCoverBean getMonth_cover() {
            return month_cover;
        }

        public void setMonth_cover(MonthCoverBean month_cover) {
            this.month_cover = month_cover;
        }

        public String getShop_average() {
            return shop_average;
        }

        public void setShop_average(String shop_average) {
            this.shop_average = shop_average;
        }

        public ShopUnitExplainBean getShop_unit_explain() {
            return shop_unit_explain;
        }

        public void setShop_unit_explain(ShopUnitExplainBean shop_unit_explain) {
            this.shop_unit_explain = shop_unit_explain;
        }

        public ArrayList<ShopUnitBean> getShop_unit()
        {
            return shop_unit;
        }

        public void setShop_unit(ArrayList<ShopUnitBean> shop_unit)
        {
            this.shop_unit = shop_unit;
        }

        public List<SalesRegionBean> getSales_region() {
            return sales_region;
        }

        public void setSales_region(List<SalesRegionBean> sales_region) {
            this.sales_region = sales_region;
        }

        public ArrayList<ShopDataBean> getShop_data() {
            return shop_data;
        }

        public void setShop_data(ArrayList<ShopDataBean> shop_data) {
            this.shop_data = shop_data;
        }

        public List<OrderRinkingBean> getOrder_rinking() {
            return order_rinking;
        }

        public void setOrder_rinking(List<OrderRinkingBean> order_rinking) {
            this.order_rinking = order_rinking;
        }

        public static class NewShopBean {
            /**
             * shop_count : 7
             * shop_details : [{"reg_time":"2021-01-14 10:44:24","shop_name":"安徽毫州门店6","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 10:44:24","shop_name":"安徽毫州门店7","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:33","shop_name":"安徽毫州门店4","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:32","shop_name":"安徽毫州门店3","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-14 09:53:31","shop_name":"安徽毫州门店2","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-13 15:45:13","shop_name":"安徽亳州首家门店","pname":"安徽省","cname":"亳州市","dname":"谯城区"},{"reg_time":"2021-01-08 17:55:25","shop_name":"安徽首家门店","pname":"安徽省","cname":"合肥市","dname":"蜀山区"}]
             */

            private String shop_count;
            private ArrayList<ShopDetailsBean> shop_details;

            public String getShop_count() {
                return shop_count;
            }

            public void setShop_count(String shop_count) {
                this.shop_count = shop_count;
            }

            public ArrayList<ShopDetailsBean> getShop_details() {
                return shop_details;
            }

            public void setShop_details(ArrayList<ShopDetailsBean> shop_details) {
                this.shop_details = shop_details;
            }

            public static class ShopDetailsBean {
                /**
                 * reg_time : 2021-01-14 10:44:24
                 * shop_name : 安徽毫州门店6
                 * pname : 安徽省
                 * cname : 亳州市
                 * dname : 谯城区
                 */

                private String reg_times;
                private String shop_name;
                private String address;

                public String getReg_times() {
                    return reg_times;
                }

                public void setReg_times(String reg_times) {
                    this.reg_times = reg_times;
                }

                public String getShop_name() {
                    return shop_name;
                }

                public void setShop_name(String shop_name) {
                    this.shop_name = shop_name;
                }

                public String getAddress() {
                    return address;
                }

                public void setAddress(String address) {
                    this.address = address;
                }
            }
        }

        public static class MonthCoverBean {
            /**
             * login_count : 17
             * login_rate : 3.7
             * pre_login_rate : 2.4
             * active_count : 12
             * active_rate : 2.6
             * pre_active_rate : 0.6
             */

            private String login_count;
            private String login_rate;
            private String pre_login_rate;
            private String active_count;
            private String active_rate;
            private String pre_active_rate;

            public String getLogin_count() {
                return login_count;
            }

            public void setLogin_count(String login_count) {
                this.login_count = login_count;
            }

            public String getLogin_rate() {
                return login_rate;
            }

            public void setLogin_rate(String login_rate) {
                this.login_rate = login_rate;
            }

            public String getPre_login_rate() {
                return pre_login_rate;
            }

            public void setPre_login_rate(String pre_login_rate) {
                this.pre_login_rate = pre_login_rate;
            }

            public String getActive_count() {
                return active_count;
            }

            public void setActive_count(String active_count) {
                this.active_count = active_count;
            }

            public String getActive_rate() {
                return active_rate;
            }

            public void setActive_rate(String active_rate) {
                this.active_rate = active_rate;
            }

            public String getPre_active_rate() {
                return pre_active_rate;
            }

            public void setPre_active_rate(String pre_active_rate) {
                this.pre_active_rate = pre_active_rate;
            }
        }

        public static class ShopUnitExplainBean {
            /**
             * 1 : 0~5千
             * 2 : 5千~1万
             * 3 : 1万~2万
             * 4 : 2万~3万
             * 5 : 3万以上
             */

            @SerializedName("1")
            private String _$1;
            @SerializedName("2")
            private String _$2;
            @SerializedName("3")
            private String _$3;
            @SerializedName("4")
            private String _$4;
            @SerializedName("5")
            private String _$5;

            public String get_$1() {
                return _$1;
            }

            public void set_$1(String _$1) {
                this._$1 = _$1;
            }

            public String get_$2() {
                return _$2;
            }

            public void set_$2(String _$2) {
                this._$2 = _$2;
            }

            public String get_$3() {
                return _$3;
            }

            public void set_$3(String _$3) {
                this._$3 = _$3;
            }

            public String get_$4() {
                return _$4;
            }

            public void set_$4(String _$4) {
                this._$4 = _$4;
            }

            public String get_$5() {
                return _$5;
            }

            public void set_$5(String _$5) {
                this._$5 = _$5;
            }
        }

        public static class ShopUnitBean {
           private String title;
           private String month_count;
           private String pre_count;

            public String getTitle()
            {
                return title;
            }

            public void setTitle(String title)
            {
                this.title = title;
            }

            public String getMonth_count()
            {
                return month_count;
            }

            public void setMonth_count(String month_count)
            {
                this.month_count = month_count;
            }

            public String getPre_count()
            {
                return pre_count;
            }

            public void setPre_count(String pre_count)
            {
                this.pre_count = pre_count;
            }

            @Override
            public String toString()
            {
                return "ShopUnitBean{" +
                        "title='" + title + '\'' +
                        ", month_count='" + month_count + '\'' +
                        ", pre_count='" + pre_count + '\'' +
                        '}';
            }
        }

        public static class SalesRegionBean {
            /**
             * nums : 388
             * pname : 江苏省
             */

            private String nums;
            private String pname;

            public String getNums() {
                return nums;
            }

            public void setNums(String nums) {
                this.nums = nums;
            }

            public String getPname() {
                return pname;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }
        }

        public static class ShopDataBean {
            /**
             * order_num : 79
             * months : 2020-08
             * active_num : 79
             * active_rate : 100
             */

            private String order_num;
            private String months;
            private String active_num;
            private String active_rate;

            public String getOrder_num() {
                return order_num;
            }

            public void setOrder_num(String order_num) {
                this.order_num = order_num;
            }

            public String getMonths() {
                return months;
            }

            public void setMonths(String months) {
                this.months = months;
            }

            public String getActive_num() {
                return active_num;
            }

            public void setActive_num(String active_num) {
                this.active_num = active_num;
            }

            public String getActive_rate() {
                return active_rate;
            }

            public void setActive_rate(String active_rate) {
                this.active_rate = active_rate;
            }
        }

        public static class OrderRinkingBean {
            /**
             * address : 江苏省泰州市姜堰区
             * shop_name : 贯日牡丹江万达广场店
             * amounts : 11.71
             */

            private String address;
            private String shop_name;
            private String amounts;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getShop_name() {
                return shop_name;
            }

            public void setShop_name(String shop_name) {
                this.shop_name = shop_name;
            }

            public String getAmounts() {
                return amounts;
            }

            public void setAmounts(String amounts) {
                this.amounts = amounts;
            }
        }
    }
}
